#!/bin/sh

## A Tiny script to make my deb sid signald source install faster

## demure centric steps
cd ~/projects/git/signald
git pull
make installDist
make setup

## Steps that could use a makefile augment
cd build/install/signald/
sudo cp bin/* /var/lib/signald/bin/
sudo rm /var/lib/signald/lib/*
sudo cp lib/* /var/lib/signald/lib/
sudo chown signald:signald /var/lib/signald/lib/*

## demure pref
sudo systemctl restart signald
